:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --text-dark: #333;
    --text-light: #777;
    --xy-primary: #ff5000;
    --xy-secondary: #ff6a00;
    --xy-light: #fff9f5;
    --xy-dark: #333;
    --xy-gray: #f5f5f5;
    --xy-border: #eee;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--xy-gray);
    color: #333;
    padding-top: 70px;
    overflow-x: hidden;
    background-color: #ECF0F1;
}




/* 左侧菜单 */
.left-panel {
    width: 220px;
    background: white;
    border-radius: 20px;
    padding: 0;
    margin-right: 20px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 1020;
    overflow-y: auto;
}

.personal_Information {
    padding: 15px 0;
}

.mine_personal_Information {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.mine_personal_Information.active {
    color: var(--xy-primary);
    background-color: rgba(255, 80, 0, 0.08);
    font-weight: 500;
    border-right: 3px solid var(--xy-primary) !important; /*左侧信息栏的选中颜色*/
}

.mine_personal_Information:hover {
    color: var(--xy-primary);
    background-color: rgba(255, 80, 0, 0.05);
}

.personal_Information .mine_order_Hidden,
.personal_Information .mine_personal_Information_Hidden {
    padding-left: 50px !important;
    padding-right: 20px !important;
}

.mine_personal_Information img:first-child {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.mine_personal_Information span {
    flex: 1;
}

.MytransactionPng, .AccountSettingsPng {
    width: 12px;
    height: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.MytransactionAction.rotate, 
.AccountSettingsAction.rotate {
    transform: rotate(90deg);
}

.rotate {
    transform: rotate(90deg);
}

.needHidden {
    height: 0;
    padding: 0 !important; /* 清除原有padding */
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    display: block !important; /* 确保元素可见 */
}

.needHidden:hover {
    color: var(--xy-primary);
}

.needHidden.show {
    height: 40px;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
}


/* 中间内容区 */
.main-content {
    margin-left: 240px; /* 左侧菜单宽度+间距 */
    margin-right: 240px; /* 右侧导航栏宽度+间距 */
    padding: 20px;
}

.middle {
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.headMineInformation {
    padding: 25px;
    border-bottom: 1px solid var(--xy-border);
}

.headimgTwice {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.usernameShow {
    font-size: 22px;
    font-weight: bold;
    margin: 0 15px;
    vertical-align: middle;
}

.user-tags {
    margin: 15px 0;
}

.settingInformationBtn {
    background: white;
    border: 1px solid var(--xy-primary);
    color: var(--xy-primary);
    border-radius: 15px;
    padding: 5px 15px;
    font-size: 14px;
    transition: all 0.2s;
    vertical-align: middle;
}

.settingInformationBtn:hover {
    background-color: rgba(255, 80, 0, 0.05);
}

.InfromationShow {
    color: #666;
    margin: 0 8px;
    font-size: 14px;
}

.section-title {
    display: flex;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.section-title span {
    font-size: 18px;
    margin-right: 25px;
    padding-bottom: 5px;
    cursor: pointer;
    position: relative;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.section-title span.active {
    color: #ff6b6b;
    font-weight: 600;
}

.section-title span.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff6b6b;
    border-radius: 3px;
}

.collection-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.collection-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.collection-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
    border-color: #e0e0e0;
}

.collection-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.collection-item.deleting {
    opacity: 0.5;
    background-color: #ffe6e6;
    transform: scale(0.98);
}

.collection-img-container {
    height: 220px; /* 设置固定高度 */
    overflow: hidden;
    position: relative;
    display: flex; /* 使用flex布局使图片居中 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    background-color: #f8f9fa; /* 背景色防止空白区域 */
}

.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例填充容器 */
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-img {
    transform: scale(1.05);
}

.collection-content {
    padding: 20px;
    height: 220px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.collection-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
    line-height: 1.5;
}

.collection-price {
    color: #ff6b6b;
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
}

.collection-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.collection-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-collection {
    flex: 1;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--xy-primary);
}

.btn-collection:hover{        
    background-color: var(--xy-primary);
}

.btn-outline-danger {
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.btn-outline-danger:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.btn-primary {
    border: none;
    color: white;
}

.btn-primary:hover { 
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(79, 172, 254, 0.4);
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 5px;
    border: 1px solid #e0e0e0;
    color: #666;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 8px rgba(255, 154, 158, 0.3);
}

/* 收藏标签切换动画 */
.collection-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.collection-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 右侧导航栏 */
.right-panel {
    width: 220px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1020;
    overflow-y: auto;
    margin-top: 10px;
}

.right-section {
    margin-bottom: 25px;
}

.right-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 8px;
}

.right-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--xy-primary);
    border-radius: 3px;
}

.right-link {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.right-link:hover {
    color: var(--xy-primary);
    padding-left: 5px;
}

.right-link i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    display: inline-block;
    background: rgba(255, 80, 0, 0.1);
    color: var(--xy-primary);
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 12px;
    transition: all 0.2s;
}

.tag:hover {
    background: rgba(255, 80, 0, 0.2);
    cursor: pointer;
}

.ad-container {
    background: linear-gradient(135deg, #fff9f5, #ffeae1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #ffd9c7;
}

.ad-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff5000;
}

.ad-content {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}


.self_introduction{
    font-size: 12px;
}
.personal_Information>a{
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    color: #666;
}